<%@page import="com.fasterxml.jackson.annotation.JsonInclude.Include"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="zh-CN">
	<%@ include file="/WEB-INF/include-head.jsp" %>
<script type="text/javascript">
	$(function() {
		$("#btnBak").click(function() {
			//debugger;
			layer.msg("后退按钮");
			//相当于点击浏览器的后退按钮
			window.history.back();
		})
	})
</script>
  <body>
  		<%@ include file="/WEB-INF/include-nav.jsp" %>
	<div class="container-fluid">
		<%@ include file="/WEB-INF/include-sidebar.jsp"%>

		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
			<ol class="breadcrumb">
				<li><a href="to/main/page.ht">首页</a></li>
				<li><a href="sheng/get/page.ht">数据列表</a></li>
				<li class="active">查看</li>
			</ol>
			<div class="panel panel-default">
				<div class="panel-heading">
					表单数据
					<div style="float: right; cursor: pointer;" data-toggle="modal"
						data-target="#myModal">
						<i class="glyphicon glyphicon-question-sign"></i>
					</div>
				</div>
				<div class="panel-body">
					<form action="#,没有修改，不写路径，这里只是查看" method="post" role="form">
					<!-- 把后台返回的域对象数据 放 隐藏域里面待会备用 -->
					<!-- 隐藏域的使用 -->
					<input type="hidden"  name="id" value="${requestScope.sheng.shengid}">
					<input type="hidden"  name="pageNum" value="${param.pageNum}">
					<input type="hidden" name="keyword" value="${param.keyword}">
					<%-- 这里不能用${requestScope.pageInfo.pageNum}的原因是域对象只一次生效 --%>
					<input type="hidden" name="pageNum" value="${requestScope.pageInfo.pageNum}">
					
					<p style="color: red">${requestScope.exception.message } </p>
						<div class="form-group">
							<label for="exampleInputPassword1">省份Id</label> 
							<input name="loginAcct" type="text" class="form-control" id="exampleInputPassword1" 
								   readonly="readonly" value="${requestScope.sheng.shengid}">
						</div>
						<div class="form-group">
							<label for="exampleInputPassword1">省份名称</label> 
							<input name="userPswd" type="text"class="form-control" id="exampleInputPassword1"
								   readonly="readonly" value="${requestScope.sheng.shengName}">
						</div>
					</form>
					<!-- 返回上一步按钮  -->
					<button id="btnBak" style="width:150px; " class="btn btn-lg btn-success btn-block">返回</button>
				</div>
			</div>
		</div>
		
	</div>
</body>
</html>
